package com.etennis.pojos.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * (Member)表实体类
 * 会员表
 * @author makejava
 * @since 2024-10-17 17:14:35
 */
@SuppressWarnings("serial")
@Data
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
@TableName("member")
public class Member  {
    @TableId(type = IdType.AUTO)
    //非空
    private Long id;

    //非空
    private String account;

    //非空
    private String password;

    private Integer score;

    private Integer restScore;

    public Member(Long id, String icon) {
        this.id = id;
        this.icon = icon;
    }

    public Member(String account, String password) {
        this.id = id;
        this.account = account;
        this.password = password;
    }

    //非空
    private String icon;
    
    private String ntrp;
    
    private Date startTime;

    //0男 1女
    private String sex;
    
    private String pad;
    
    private String hand;
    
    private String skill;
    
    private String name;

    //0在 1退
    private String isExitClub;

    private Long clubId;

}

